package com.example.pixelyear.bean;

public class DateBean {
    private int month;
    private int year;
    private int day;
    private int color;
    private int textColor;
    private String mood;
    private String note;

    public DateBean(int month, int year, int day, int color, int textColor, String mood) {
        this.month = month;
        this.year = year;
        this.day = day;
        this.color = color;
        this.textColor = textColor;
        this.mood = mood;
    }


    public int getMonth() {
        return month;
    }

    public void setMonth(int month) {
        this.month = month;
    }

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public int getDay() {
        return day;
    }

    public void setDay(int day) {
        this.day = day;
    }

    public int getColor() {
        return color;
    }

    public void setColor(int color) {
        this.color = color;
    }

    public int getTextColor() {
        return textColor;
    }

    public void setTextColor(int textColor) {
        this.textColor = textColor;
    }

    public String getNote() {
        if (note == null)
            note = "";
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getMood() {
        if (mood == null)
            mood = "";
        return mood;
    }

    public void setMood(String mood) {
        this.mood = mood;
    }

    @Override
    public String toString() {
        return "DateBean{" +
                "month=" + month +
                ", year=" + year +
                ", day=" + day +
                ", color=" + color +
                ", textColor=" + textColor +
                ", mood='" + mood + '\'' +
                ", note='" + note + '\'' +
                '}';
    }
}
